package com.joplus.housekeeper.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * author： ccm
 * time： 2017/7/4.
 * description：
 */

public  class EducationOrder implements Parcelable {
    private String zipCode;
    private String gender;
    private String censusRegister;
    private String isTransfer;
    private String orderId;
    private String preferredSchool;
    private String alternativeSchool;
    private String contactCellphone;
    private String birthDate;
    private String consignorNumber;
    private String eMail;
    private String sid;
    private String familyAddress;
    private String name;
    private String cellphone;
    private String createdDatetime;
    private String formerName;
    private String updatedDatetime;

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getCensusRegister() {
        return censusRegister;
    }

    public void setCensusRegister(String censusRegister) {
        this.censusRegister = censusRegister;
    }

    public String isTransfer() {
        return isTransfer;
    }

    public void setTransfer(String transfer) {
        isTransfer = transfer;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPreferredSchool() {
        return preferredSchool;
    }

    public void setPreferredSchool(String preferredSchool) {
        this.preferredSchool = preferredSchool;
    }

    public String getAlternativeSchool() {
        return alternativeSchool;
    }

    public void setAlternativeSchool(String alternativeSchool) {
        this.alternativeSchool = alternativeSchool;
    }

    public String getContactCellphone() {
        return contactCellphone;
    }

    public void setContactCellphone(String contactCellphone) {
        this.contactCellphone = contactCellphone;
    }

    public String getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }

    public String getConsignorNumber() {
        return consignorNumber;
    }

    public void setConsignorNumber(String consignorNumber) {
        this.consignorNumber = consignorNumber;
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getFamilyAddress() {
        return familyAddress;
    }

    public void setFamilyAddress(String familyAddress) {
        this.familyAddress = familyAddress;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCellphone() {
        return cellphone;
    }

    public void setCellphone(String cellphone) {
        this.cellphone = cellphone;
    }

    public String getCreatedDatetime() {
        return createdDatetime;
    }

    public void setCreatedDatetime(String createdDatetime) {
        this.createdDatetime = createdDatetime;
    }

    public String getFormerName() {
        return formerName;
    }

    public void setFormerName(String formerName) {
        this.formerName = formerName;
    }

    public String getUpdatedDatetime() {
        return updatedDatetime;
    }

    public void setUpdatedDatetime(String updatedDatetime) {
        this.updatedDatetime = updatedDatetime;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.zipCode);
        dest.writeString(this.gender);
        dest.writeString(this.censusRegister);
        dest.writeString(this.isTransfer);
        dest.writeString(this.orderId);
        dest.writeString(this.preferredSchool);
        dest.writeString(this.alternativeSchool);
        dest.writeString(this.contactCellphone);
        dest.writeString(this.birthDate);
        dest.writeString(this.consignorNumber);
        dest.writeString(this.eMail);
        dest.writeString(this.sid);
        dest.writeString(this.familyAddress);
        dest.writeString(this.name);
        dest.writeString(this.cellphone);
        dest.writeString(this.createdDatetime);
        dest.writeString(this.formerName);
        dest.writeString(this.updatedDatetime);
    }

    public EducationOrder() {
    }

    protected EducationOrder(Parcel in) {
        this.zipCode = in.readString();
        this.gender = in.readString();
        this.censusRegister = in.readString();
        this.isTransfer = in.readString();
        this.orderId = in.readString();
        this.preferredSchool = in.readString();
        this.alternativeSchool = in.readString();
        this.contactCellphone = in.readString();
        this.birthDate = in.readString();
        this.consignorNumber = in.readString();
        this.eMail = in.readString();
        this.sid = in.readString();
        this.familyAddress = in.readString();
        this.name = in.readString();
        this.cellphone = in.readString();
        this.createdDatetime = in.readString();
        this.formerName = in.readString();
        this.updatedDatetime = in.readString();
    }

    public static final Creator<EducationOrder> CREATOR = new Creator<EducationOrder>() {
        @Override
        public EducationOrder createFromParcel(Parcel source) {
            return new EducationOrder(source);
        }

        @Override
        public EducationOrder[] newArray(int size) {
            return new EducationOrder[size];
        }
    };
}
